package com.woniuxy.three.pms.order.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

@ControllerAdvice
public class BaseExceptionController {
	
	@ExceptionHandler
	public String execution(HttpServletRequest req,Exception ex) {
		System.out.println(ex.getMessage());
		
		
		return "html/404.html";
	}

}
